/**
*@param type 发送验证码类型 register | login| change
*@param captcha 图形验证码 
*@param phone 手机号码 
*@desc
*/
export const sendCode = async (options: {type: 'register' | 'login'|'change', captcha: string, phone: string}) => {
    return await useApi<null>('/notify/v1/send_code', {
        method: 'post',
        body: {
            ...options
        }
    })
}